/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ronin.dao.api;

import com.ronin.model.Firma;
import java.util.List;

/**
 *
 * @author esimsek
 */
public interface IFirmaDao {
    
    Firma getSingle(Firma firma);
    
    Firma getSingleById(Long id);
    
    Firma getSingleOneByNamedQuery(String namedQuery,Object... parameters);
    
    List<Firma> getList(Firma firma);
    
    List<Firma> getListByNamedQuery(String namedQuery,Object... parameters);
    
    int getCount(Firma firma);

    void add(Firma firma);

    void update(Firma firma);

    void delete(Firma firma);
}
